package com.ftg.learn.service;

import com.ftg.learn.util.R;

import java.util.List;

/**
 * @author 布衣
 */
public interface SysUserService {

    R<String> login(String account, String password);

    R<Integer> register(String account, String password);

    R<Boolean> assignRole(Integer userId, List<Integer> roleIds);
}
